import axios from '../../axios'


const carApi = {
    addCar(data) {
        return axios({
            url: "/car/addCar",
            method: "post",
            data
        })
    },
    findAllCar(data) {
        return axios({
            url: "/car/findAllCar",
            method: "post",
            data
        })
    },
    findCarByID(data) {
        return axios({
            url: "/car/findCarByID",
            method: "post",
            data
        })
    },
    delCar(data) {
        return axios({
            url: "/car/delCar",
            method: "post",
            data
        })
    },
    clickChangeStatus(data) {
        return axios({
            url: "/car/clickChangeStatus",
            method: "post",
            data
        })
    },
    clickChangeVerify(data) {
        return axios({
            url: "/car/clickChangeVerify",
            method: "post",
            data
        })
    },
    findCarByID(data) {
        return axios({
            url: "/car/findCarByID",
            method: "post",
            data
        })
    },
    changeCar(data) {
        return axios({
            url: "/car/changeCar",
            method: "post",
            data
        })
    }


}

export default carApi